PSoAuth

0.0.6

Apteco PS Modules - PowerShell oAuth

Support of oAuth v2 in PowerShell! This module allows the oAuth flow to create your first api token for Microsoft Dynamics, Salesforce, CleverReach and much more...
We support redirect urls to local urls `http://localhost:54321` and app urls (handled via registry) `apttoken://localhost`. The local url is instantly starting up a
Apteco PS Modules - PowerShell oAuth

Support of oAuth v2 in PowerShell! This module allows the oAuth flow to create your first api token for Microsoft Dynamics, Salesforce, CleverReach and much more...
We support redirect urls to local urls `http://localhost:54321` and app urls (handled via registry) `apttoken://localhost`. The local url is instantly starting up a
basic webserver on the port you have defined. This module can be used for debugging or server2server communication. Here you can see the two methods than can be used:

Show more

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PSoAuth -RequiredVersion 0.0.6

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PSoAuth -Version 0.0.6

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2023 Apteco GmbH. All rights reserved.

Package Details

Author(s)

  • florian.von.bracht@apteco.de

Tags

Windows Apteco

Functions

Request-OAuthApp Request-OAuthLocalhost Request-TokenRefresh

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes


0.0.6 Support of scope and state payload for oAuth v2 flow
0.0.5 New Switch flag to save the payload of the second call
     More documentation for the app and localhost functions
     New PSCustomObject that can be saved in the settings json file, so it can be used for token refreshment
0.0.4 Fix for setting the logfile in the main modules process -> this could interrupt when launched from .net in a non-writeable folder like System32
0.0.3 Fix for using a wrong variable in re-saving the token
     Added description for this module
0.0.2 Allow custom payload to be saved in the settings json file
     Fix of saving the boolean switch parameter SaveSeparateTokenFile
0.0.1 Initial release of PSOAuth supporting app and localhost methods

FileList

Version History

Version Downloads Last updated
0.1.0 6 11/11/2024
0.0.8 29 6/24/2024
0.0.7 52 10/13/2023
0.0.6 (current version) 9 10/12/2023
0.0.4 12 10/7/2023
0.0.3 7 10/5/2023
0.0.2 6 10/5/2023
0.0.1 7 10/4/2023
Show more