📖 docs replace links to github to tedomum gitlab
This commit is contained in:
parent
9906f47bc3
commit
06b96b48d2
@ -1,5 +1,51 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
|
<component name="ChangeListManager">
|
||||||
|
<list default="true" id="854bcb01-e420-4693-ac41-0d32a36e4e8a" name="Default Changelist" comment="">
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/lib/ueberauth/strategy/twitter/internal.ex" beforeDir="false" afterPath="$PROJECT_DIR$/lib/ueberauth/strategy/openstreetmap/internal.ex" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/lib/ueberauth/strategy/twitter/oauth.ex" beforeDir="false" afterPath="$PROJECT_DIR$/lib/ueberauth/strategy/openstreetmap/oauth.ex" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/lib/ueberauth_twitter.ex" beforeDir="false" afterPath="$PROJECT_DIR$/lib/ueberauth_openstreetmap.ex" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/test/ueber_twitter_test.exs" beforeDir="false" afterPath="$PROJECT_DIR$/test/ueber_openstreetmap_test.exs" afterDir="false" />
|
||||||
|
</list>
|
||||||
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||||
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||||
|
</component>
|
||||||
|
<component name="ComposerSettings">
|
||||||
|
<execution />
|
||||||
|
</component>
|
||||||
|
<component name="Git.Settings">
|
||||||
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||||
|
</component>
|
||||||
|
<component name="GitToolBoxStore">
|
||||||
|
<option name="projectConfigVersion" value="2" />
|
||||||
|
<option name="recentBranches">
|
||||||
|
<RecentBranches>
|
||||||
|
<option name="branchesForRepo">
|
||||||
|
<list>
|
||||||
|
<RecentBranchesForRepo>
|
||||||
|
<option name="branches">
|
||||||
|
<list>
|
||||||
|
<RecentBranch>
|
||||||
|
<option name="branchName" value="osm-auth" />
|
||||||
|
<option name="lastUsedInstant" value="1603741229" />
|
||||||
|
</RecentBranch>
|
||||||
|
<RecentBranch>
|
||||||
|
<option name="branchName" value="master" />
|
||||||
|
<option name="lastUsedInstant" value="1603741228" />
|
||||||
|
</RecentBranch>
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
<option name="repositoryRootUrl" value="file://$PROJECT_DIR$" />
|
||||||
|
</RecentBranchesForRepo>
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</RecentBranches>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
<component name="ProjectId" id="1jQfESQ0BrLtqwaZKkt3djlBXHW" />
|
||||||
<component name="ProjectViewState">
|
<component name="ProjectViewState">
|
||||||
<option name="autoscrollFromSource" value="true" />
|
<option name="autoscrollFromSource" value="true" />
|
||||||
<option name="autoscrollToSource" value="true" />
|
<option name="autoscrollToSource" value="true" />
|
||||||
@ -7,7 +53,39 @@
|
|||||||
<option name="showLibraryContents" value="true" />
|
<option name="showLibraryContents" value="true" />
|
||||||
</component>
|
</component>
|
||||||
<component name="PropertiesComponent">
|
<component name="PropertiesComponent">
|
||||||
|
<property name="ASKED_SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
|
||||||
|
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
|
||||||
|
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
|
||||||
|
<property name="WebServerToolWindowFactoryState" value="true" />
|
||||||
|
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
||||||
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
|
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
|
||||||
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
|
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
|
||||||
|
<property name="nodejs_package_manager_path" value="npm" />
|
||||||
|
<property name="vue.rearranger.settings.migration" value="true" />
|
||||||
|
</component>
|
||||||
|
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
||||||
|
<component name="TaskManager">
|
||||||
|
<task active="true" id="Default" summary="Default task">
|
||||||
|
<changelist id="854bcb01-e420-4693-ac41-0d32a36e4e8a" name="Default Changelist" comment="" />
|
||||||
|
<created>1603741123382</created>
|
||||||
|
<option name="number" value="Default" />
|
||||||
|
<option name="presentableId" value="Default" />
|
||||||
|
<updated>1603741123382</updated>
|
||||||
|
<workItem from="1603741124430" duration="697000" />
|
||||||
|
</task>
|
||||||
|
<servers />
|
||||||
|
</component>
|
||||||
|
<component name="TypeScriptGeneratedFilesManager">
|
||||||
|
<option name="version" value="3" />
|
||||||
|
</component>
|
||||||
|
<component name="WindowStateProjectService">
|
||||||
|
<state x="700" y="357" width="587" height="406" key="#com.intellij.fileTypes.FileTypeChooser" timestamp="1603741345684">
|
||||||
|
<screen x="0" y="30" width="1680" height="1050" />
|
||||||
|
</state>
|
||||||
|
<state x="700" y="357" width="587" height="406" key="#com.intellij.fileTypes.FileTypeChooser/1680.0.1920.1080/0.30.1680.1050@0.30.1680.1050" timestamp="1603741345684" />
|
||||||
|
<state x="686" y="294" width="973" height="605" key="find.popup" timestamp="1603741740529">
|
||||||
|
<screen x="0" y="30" width="1680" height="1050" />
|
||||||
|
</state>
|
||||||
|
<state x="686" y="294" width="973" height="605" key="find.popup/1680.0.1920.1080/0.30.1680.1050@0.30.1680.1050" timestamp="1603741740529" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
25
README.md
25
README.md
@ -3,6 +3,29 @@
|
|||||||
> OpenStreetMap strategy for Überauth.
|
> OpenStreetMap strategy for Überauth.
|
||||||
|
|
||||||
_Note_: Sessions are required for this strategy.
|
_Note_: Sessions are required for this strategy.
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
avoir un compte OSM et créer son app sur OSM ici
|
||||||
|
https://www.openstreetmap.org/user/username/oauth_clients
|
||||||
|
|
||||||
|
URL du jeton de requête :
|
||||||
|
|
||||||
|
https://www.openstreetmap.org/oauth/request_token
|
||||||
|
|
||||||
|
URL du jeton d’accès :
|
||||||
|
|
||||||
|
https://www.openstreetmap.org/oauth/access_token
|
||||||
|
|
||||||
|
URL d’autorisation :
|
||||||
|
|
||||||
|
https://www.openstreetmap.org/oauth/authorize
|
||||||
|
|
||||||
|
Demande les permissions suivantes à l’utilisateur :
|
||||||
|
|
||||||
|
* lire les préférences de l’utilisateur
|
||||||
|
|
||||||
|
Nous prenons en charge les signatures HMAC-SHA1 (recommandé) et RSA-SHA1.
|
||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@ -75,5 +98,5 @@ As noted when registering your application on the OpenStreetMap Developer site,
|
|||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Please see [LICENSE](https://github.com/ueberauth/ueberauth_OpenStreetMap/blob/master/LICENSE) for licensing details.
|
Please see [LICENSE](https://forge.tedomum.net/tykayn/ueberauth_openstreetmap/blob/master/LICENSE) for licensing details.
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ defmodule Ueberauth.Strategy.OpenStreetMap.OAuth do
|
|||||||
@defaults [access_token: "/oauth/access_token",
|
@defaults [access_token: "/oauth/access_token",
|
||||||
authorize_url: "/oauth/authorize",
|
authorize_url: "/oauth/authorize",
|
||||||
request_token: "/oauth/request_token",
|
request_token: "/oauth/request_token",
|
||||||
site: "https://api.OpenStreetMap.com"]
|
site: "https://www.openstreetmap.org"]
|
||||||
|
|
||||||
defmodule ApiError do
|
defmodule ApiError do
|
||||||
@moduledoc "Raised on OAuth API errors."
|
@moduledoc "Raised on OAuth API errors."
|
4
mix.exs
4
mix.exs
@ -1,8 +1,8 @@
|
|||||||
defmodule UeberauthOpenStreetMap.Mixfile do
|
defmodule UeberauthOpenStreetMap.Mixfile do
|
||||||
use Mix.Project
|
use Mix.Project
|
||||||
|
|
||||||
@version "0.3.0"
|
@version "0.1.0"
|
||||||
@url "https://github.com/ueberauth/ueberauth_OpenStreetMap"
|
@url "https://forge.tedomum.net/tykayn/ueberauth_openstreetmap"
|
||||||
|
|
||||||
def project do
|
def project do
|
||||||
[app: :ueberauth_OpenStreetMap,
|
[app: :ueberauth_OpenStreetMap,
|
||||||
|
Loading…
Reference in New Issue
Block a user