Skip to content

Commit 0e4048d

Browse files
author
Daniel Neighman
authored
Merge pull request #34 from tsubery/master
Allow access_type config as parameter
2 parents 5136e7d + cdca4e1 commit 0e4048d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v 0.6.0
2+
3+
* Add support for access_type per request using url parameter
4+
15
# v 0.5.0
26

37
* Add support for new params: access_type, approval_prompt, state.

lib/ueberauth/strategy/google.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ defmodule Ueberauth.Strategy.Google do
2020
|> with_optional(:hd, conn)
2121
|> with_optional(:approval_prompt, conn)
2222
|> with_optional(:access_type, conn)
23+
|> with_param(:access_type, conn)
2324
|> with_param(:prompt, conn)
2425
|> with_param(:state, conn)
2526
|> Keyword.put(:redirect_uri, callback_url(conn))

0 commit comments

Comments
 (0)