Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c0bb058

Browse files
author
Mehran Rahbardar
committed
readme edited
1 parent 26a786b commit c0bb058

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is a simple php app that uses fanapium single sign on service based on oau
44

55
About SSO
66
----------
7-
In this sample app authorization code flow is implemented, first you send a authorization request to _/oauth2/authorize_ endpoint like table below:
7+
In this sample app authorization code flow is implemented, first you redirect to _/oauth2/authorize_ endpoint with parameters like table below to input their username and password:
88

99
Request | Response (redirect)
1010
------- | --------
@@ -13,7 +13,7 @@ https://auth2server.com/oauth2/authorize | https://example.com/oauth/callback
1313
&response_type=code | &state=$STATE
1414
&redirect_uri=$CLIENT_REDIRECT_URI |
1515

16-
16+
For prompting sign up form just add prompt=signup parameter to the above request.
1717
Then you must use the returned code to request token, this time you send a request to _/oauth2/token_ endpoint like table below:
1818

1919
Request | Response

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /