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

Support generic prompted auth #28

Merged
merged 4 commits into from
Sep 4, 2018

Conversation

shankari
Copy link
Contributor

@shankari shankari commented Jul 29, 2018

Before this, the prompt was hard-coded to "Dummy dev auth" (left), which is an issue when it is used for token-based authentication. Now, the prompt can be configured so that if token based authentication is used, the prompt can say "Enter token" (right).

Before After
simulator screen shot - iphone 6s - 2018-07-29 at 10 58 08 simulator screen shot - iphone 6s - 2018-07-29 at 10 50 42

Change the file names to be consistent with
134aa5b
The prompt string for a simple one-value "token" or "email" can now be
configured.  So we can use it for both "dummy-dev" and "token-list" modes, AND
the text can be in various languages if needed.

The files were renamed in 134aa5b
This is the actual changes to read the prompt and pass it in to the javascript,
which now takes the prompt as an argument.
@shankari shankari merged commit aa6ed6e into e-mission:master Sep 4, 2018
shankari added a commit to shankari/e-mission-phone that referenced this pull request Sep 20, 2018
- add a sample for `openid`
- add a sample for `token_list`
- update all samples from `dummy-dev` to `prompted-auth`
(consistent with e-mission/cordova-jwt-auth#28 and
e-mission/cordova-jwt-auth#32)

Update README to clarify + point to revised docs
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.

1 participant