![Sebastian Marcet](/assets/img/avatar_default.png)
DB refactoring Client Admin Rectoring upgraded layout to use latest bootstrap Added bower support Added Behat support OIDC Discovery suuport added OIDC JWKS endpoint added Refactored OpenId workflows Refactored OAuth2 workflows Server Keys Admin Added Authorization Code Flow refactored to support OIDC Allow native apps to use auth code grant Allow native apps to use "TokenEndpoint_AuthMethod_PrivateKeyJwt" Filter on UI public/private keys algs based on the key usage Set as default auth protocol for private clients "client_secret_basic" Added feature client_secret_expired Filtered content of Token Endpoint Authorization Signed Algorithm based on Token Endpoint Authorization Method Implemented OAuth 2.0 Multiple Response Type Encoding Practices Implemented OAuth 2.0 Form Post Response Mode Implicit Flow refactored to support OIDC UserInfo Endpoint (OIDC/Claims) Hybrid Flow OIDC Session Management Change-Id: If3d38666f3f7f56bd8c94b9df2e6340554512612
18 lines
845 B
Gherkin
18 lines
845 B
Gherkin
Feature: Get OAuth2 Auth Code
|
|
|
|
Background:
|
|
Given Prepare For Tests is Done
|
|
|
|
Scenario: Get Auth Code With Login
|
|
Given these OAuth2 parameters:
|
|
| param | value |
|
|
| client_id | Jiz87D8/Vcvr6fvQbH4HyNgwTlfSyQ3x.openstack.client |
|
|
| redirect_uri | https://www.test.com/oauth2 |
|
|
| response_type | code |
|
|
| scope | profile |
|
|
And exits client Id "Jiz87D8/Vcvr6fvQbH4HyNgwTlfSyQ3x.openstack.client"
|
|
And navigate to controller action "OAuth2ProviderController@authorize" with HTTP method "POST"
|
|
When i get log as user "test@test.com" using password "1qaz2wsx"
|
|
And allow consent "AllowOnce"
|
|
Then i get a valid Auth code
|