Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load domain from Auth0.plist if not in main infoDictionary #4

Merged
merged 1 commit into from
Apr 25, 2016

Conversation

bradfol
Copy link
Contributor

@bradfol bradfol commented Apr 19, 2016

In the latest Lock readme it instructs you to create a Auth0.plist file to store the domain used for API requests (instead of in the main bundle Info.plist).

Currently Auth0.swift loads directly from the main bundle info dictionary, and crashes if the correct key is not found there.

This pull request allows Auth0.swift to find the domain in either the main bundle or the Auth0.plist.

@hzalaz hzalaz merged commit b1d5591 into auth0:master Apr 25, 2016
@hzalaz hzalaz modified the milestone: 0.3.0 Apr 25, 2016
@bradfol bradfol deleted the plist-fix branch April 26, 2016 16:05
andrewfoghel pushed a commit to andrewfoghel/Auth0.swift that referenced this pull request Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants